<template>
  <div class="header">
    城市列表
    <router-link to="/">
      <div class="iconfont back-icon">&#xe624;</div>
    </router-link>
  </div>
</template>

<script type="text/ecmascript-6">
export default {
  name: 'CityHeader'
}
</script>

<style scoped lang="stylus" rel="stylesheet/stylus">
  @import '~styles/varibles'

  .header
    position: relative
    overflow: hidden
    height: $headerHeight
    line-height: $headerHeight
    text-align: center
    background-color: $bgColor
    color: #fff
    font-size: .32rem
    .back-icon
      position: absolute
      top: 0
      left: 0
      width: .64rem
      text-align: center
      color: #fff
      font-size: .4rem
</style>
